home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / apps / 14 / applic / prowrt.hex < prev    next >
Encoding:
Text File  |  1986-05-12  |  10.5 KB  |  222 lines

  1. 0660103030571
  2. 1
  3. 2page #
  4. 9[.........................................................]
  5. ****************************************************************
  6. *
  7. *    C. Itoh 8510A Prowriter Driver Configuration Table
  8. *
  9. *    This file contains tables defining the code sequences
  10. *    to be sent to the printer to perform various functions
  11. *    and to access the characters from codes in the Atari
  12. *    character set.
  13. *
  14. ****************************************************************
  15.  
  16. *
  17. * Name of printer
  18. * ===============
  19. *
  20. C.Itoh 8510A/B
  21. *
  22. * Miscellaneous configurable variables
  23. * ====================================
  24. *
  25. * 1: printer type, 0=dot matrix, 1=daisy wheel
  26. *    Note if printer type is 0 the following 4 variables are never used.
  27. * 2: unit width of one character
  28. * 3: unit height of one line
  29. * 4: Approximate middle of carriage after formfeed
  30. * 5: Carriage shift for bold overstrike
  31. *
  32. 0, 0, 0, 0, 0, 0
  33.  
  34. *
  35. * Printer characteristics
  36. * =======================
  37. *
  38. * This table specifies the printer command sequences.
  39. * If the top bit of a code is set, then this indicates the position
  40. * of a parameter passed to the printer. The code whose top bit is set
  41. * in this table is added to the parameter passed before being sent to
  42. * the printer. It is not used in all command sequences, only in those
  43. * where the printer requires  a variable value such as the length of
  44. * a vertical tab.
  45. *
  46. 1, D, A                           * Linefeed WITH return
  47. 6, 1B, 21                         * Draft bold on
  48. 7, 1B, 22                         * Draft bold off
  49. 1A, 1B, 58                        * Draft underline on
  50. 1B, 1B, 59                        * Draft underline off
  51. 1E, C                             * Formfeed
  52. 0                                 * NULL termination byte
  53.  
  54. *
  55. * Translation Table
  56. * =================
  57. *
  58. * This table provides translation from single Atari input bytes into
  59. * multiple C. ITOH 8510A/B printer codes, and is useful for printing
  60. * extraneous characters such as accented characters etc. All characters
  61. * are subjected to translation, but if there is no entry in the table
  62. * for a particular code, then the original code is sent to the printer.
  63. *
  64. * The entries must be arranged in ascending order of Atari input
  65. * code. The table is NULL terminated.
  66.  
  67. 0                                                * NULL: print a space 
  68. 1,1B,53,30,30,30,38,18,1C,F6,83,83,F6,1C,18      * Up arrow ⇧
  69. 2,1B,53,30,30,30,38,18,38,6F,C1,C1,6F,38,18      * Down arrow ⇩
  70. 3,1B,53,30,30,30,38,3C,24,24,E7,C3,66,3C,18      * Right arrow ⇨
  71. 4,1B,53,30,30,30,38,18,3C,66,C3,E7,24,24,3C      * Left arrow ⇦ 
  72. 5,1B,53,30,30,30,38,00,1C,49,63,77,63,49,1C      * Close box ❎
  73. 6,1B,53,30,30,30,38,00,7F,7F,3F,1F,4F,67,73      * Size box ╱
  74. 7,1B,53,30,30,30,38,00,77,63,49,1C,49,63,77      * Full box ◆
  75. 8,1B,53,30,30,30,38,18,30,60,30,18,0C,06,03      * Tick ✓
  76. E,1B,53,30,30,30,38,00,C0,C0,E0,78,1F,00,FF      * LH Atari symbol     
  77. F,1B,53,30,30,30,38,FF,00,1F,78,E0,C0,C0,00      * RH Atari symbol 
  78. 10,1B,53,30,30,30,38,00,36,77,41,41,41,77,36     * ⓪ 
  79. 11,1B,53,30,30,30,38,00,00,00,00,00,00,77,77     * ① 
  80. 12,1B,53,30,30,30,38,00,30,79,49,49,49,4F,06     * ②    
  81. 13,1B,53,30,30,30,38,00,00,49,49,49,49,7F,36     * ③ 
  82. 14,1B,53,30,30,30,38,00,07,0F,08,08,08,7F,77     * ④
  83. 15,1B,53,30,30,30,38,00,06,4F,49,49,49,79,30     * ⑤
  84. 16,1B,53,30,30,30,38,00,36,7F,49,49,49,79,30     * ⑥
  85. 17,1B,53,30,30,30,38,00,00,01,01,01,01,77,76     * ⑦    
  86. 18,1B,53,30,30,30,38,00,36,7F,49,49,49,7F,36     * ⑧
  87. 19,1B,53,30,30,30,38,00,06,4F,49,49,49,7F,36     * ⑨     
  88. 7F,1B,53,30,30,30,38,00,60,78,5E,46,58,60,00     *  
  89. 80,1B,53,30,30,30,38,00,1C,BE,A2,E2,36,14,00     * 
  90. 81,1B,53,30,30,30,38,00,39,79,40,40,79,79,00     * ⇧
  91. 82,1B,53,30,30,30,38,00,30,78,5A,5B,59,10,00     * ⇩
  92. 83,1B,53,30,30,30,38,00,22,6A,69,69,7A,72,00     * ⇨
  93. 84,1B,53,30,30,30,38,00,21,69,68,68,79,71,00     * ⇦
  94. 85,1B,53,30,30,30,38,00,20,69,6B,6A,78,70,00     * ❎
  95. 86,1B,53,30,30,30,38,00,20,68,6B,6B,78,70,00     * ╱
  96. 87,1B,53,30,30,30,38,00,18,3C,A4,E4,24,00,00     * ◆
  97. 88,1B,53,30,30,30,38,00,32,7A,59,59,5A,12,00     * ✓
  98. 89,1B,53,30,30,30,38,00,39,7D,54,54,5D,19,00     *     
  99. 8A,1B,53,30,30,30,38,00,30,79,5B,5A,58,10,00     * 
  100.  
  101. 8B,1B,53,30,30,30,38,00,01,49,78,78,41,01,00     * ♪
  102. 8C,1B,53,30,30,30,38,00,02,4A,79,79,42,02,00     * 
  103. 8D,1B,53,30,30,30,38,00,01,4B,7A,78,40,00,00     * 
  104.  
  105. 8E,1B,53,30,30,30,38,00,71,79,2C,2C,79,71,00     * 
  106. 8F,1B,53,30,30,30,38,00,70,78,2D,2D,78,70,00     * 
  107. 90,1B,53,30,30,30,38,00,7C,7C,56,57,55,44,00     * ⓪
  108. 91,1B,53,30,30,30,38,20,74,54,7C,7C,54,5C,18     * ①
  109. 92,1B,53,30,30,30,38,7C,7E,13,7F,7F,49,49,41     * ②
  110. 93,1B,53,30,30,30,38,00,32,7A,49,49,7A,32,00     * ③
  111. 94,1B,53,30,30,30,38,00,31,71,48,48,79,31,00     * ④
  112. 95,1B,53,30,30,30,38,00,30,79,4B,4A,78,30,00     * ⑤
  113. 96,1B,53,30,30,30,38,00,3A,7A,41,41,7A,7A,00     * ⑥
  114. 97,1B,53,30,30,30,38,00,38,79,43,42,78,78,00     * ⑦
  115. 98,1B,53,30,30,30,38,00,9A,BA,A0,A0,FA,7A,00     * ⑧
  116. 99,1B,53,30,30,30,38,00,39,7D,44,44,7D,39,00     * ⑨
  117. 9A,1B,53,30,30,30,38,00,3D,7D,40,40,7D,7D,00     * ə
  118. 9B,1B,53,30,30,30,38,00,18,3C,E7,E7,24,00,00     * 
  119. 9C,1B,53,30,30,30,38,00,48,7E,7F,4B,49,42,00     * 
  120. 9D,1B,53,30,30,30,38,00,06,2E,78,78,2E,06,00     * 
  121. 9E,1B,53,30,30,30,38,00,FC,FE,4D,49,7F,36,00     * 
  122. 9F,1B,53,30,30,30,38,00,88,FC,7E,0A,0A,02,00     * 
  123. A0,1B,53,30,30,30,38,00,20,68,6A,6B,79,70,00     *  
  124. A1,1B,53,30,30,30,38,00,00,48,7A,7B,41,00,00     * !
  125. A2,1B,53,30,30,30,38,00,30,78,4A,4B,79,30,00     * "
  126. A3,1B,53,30,30,30,38,00,38,78,42,43,79,78,00     * #
  127. A4,1B,53,30,30,30,38,00,7A,79,0B,7A,71,00,00     * $
  128. A5,1B,53,30,30,30,38,00,7A,79,13,22,79,78,00     * %
  129. A6,1B,53,30,30,30,38,00,10,BA,AA,AA,BE,3C,00     * &
  130. A7,1B,53,30,30,30,38,00,1C,BE,A2,A2,BE,1C,00     * '
  131. A8,1B,53,30,30,30,38,00,60,F0,9A,8A,C0,40,00     * (
  132. A9,1B,53,30,30,30,38,00,00,78,78,08,08,08,00     * )
  133. AA,1B,53,30,30,30,38,00,08,08,08,78,78,00,00     * *
  134. AB,CD                                            * +
  135. AC,CE                                            * ,
  136. AD,1B,53,30,30,30,38,00,00,00,FA,FA,00,00,00     * -
  137. AE,1B,53,30,30,30,38,08,1C,36,6B,5D,36,63,41     * .
  138. AF,1B,53,30,30,30,38,41,63,36,5D,6B,36,1C,08     * /
  139. B0,1B,53,30,30,30,38,00,22,69,6B,6A,79,70,00     * 0
  140. B1,1B,53,30,30,30,38,00,32,79,4B,4A,79,30,00     * 1
  141. B2,1B,53,30,30,30,38,00,BC,7E,52,4A,7E,3D,00     * 2
  142. B3,1B,53,30,30,30,38,00,B8,7C,54,4C,7C,3A,00     * 3
  143. B4,1B,53,30,30,30,38,38,7C,44,7C,7C,54,5C,18     * 4
  144. B5,1B,53,30,30,30,38,3E,7F,41,7F,7F,49,49,41     * 5
  145. B6,1B,53,30,30,30,38,00,E0,F1,5B,5A,F0,E0,00     * 6
  146. B7,1B,53,30,30,30,38,00,E2,F1,5B,5A,F1,E0,00     * 7
  147. B8,1B,53,30,30,30,38,00,7A,FD,87,86,FD,78,00     * 8
  148. B9,1B,53,30,30,30,38,00,01,01,00,00,01,01,00     * 9
  149. BA,1B,53,30,30,30,38,00,00,04,06,03,01,00,00     * :
  150. BB,1B,53,30,30,30,38,00,00,04,3E,04,00,00,00     * ;
  151. BC,1B,53,30,30,30,38,0E,1F,11,FF,00,FF,00,00     * <
  152. BD,1B,53,30,30,30,38,7E,C3,BD,A5,A5,A5,C3,7E     * =
  153. BE,1B,53,30,30,30,38,7E,C3,BD,95,B5,AD,C3,7E     * >
  154. BF,1B,53,30,30,30,38,01,3F,3F,E1,30,E0,30,E0     * ? 
  155. C0,1B,53,30,30,30,38,00,24,3D,3D,A0,80,FD,7D     * @
  156. C1,1B,53,30,30,30,38,00,21,3F,3F,A1,80,FF,7F     * A
  157. C2,1B,53,30,30,30,38,00,36,3E,0C,18,3E,36,00     * B
  158. C3,1B,53,30,30,30,38,00,22,22,22,3E,3E,20,00     * C
  159. C4,1B,53,30,30,30,38,00,00,00,22,32,1A,3E,00     * D
  160. C5,1B,53,30,30,30,38,00,02,02,02,3E,3E,02,00     * E
  161. C6,1B,53,30,30,30,38,00,3A,3A,02,02,3E,3C,00     * F
  162. C7,1B,53,30,30,30,38,00,00,00,02,3E,3E,00,00     * G
  163. C8,1B,53,30,30,30,38,00,00,00,02,06,3E,3A,00     * H
  164. C9,1B,53,30,30,30,38,00,02,3E,3E,02,3E,3E,00     * I
  165. CA,1B,53,30,30,30,38,00,3F,3F,20,22,3E,3E,00     * J
  166. CB,1B,53,30,30,30,38,00,00,02,02,0E,0E,00,00     * K
  167. CC,1B,53,30,30,30,38,00,00,22,22,22,3E,1C,00     * L
  168. CD,1B,53,30,30,30,38,00,03,03,02,22,3E,3E,00     * M
  169. CE,1B,53,30,30,30,38,00,3A,3E,04,26,3E,36,00     * N
  170. CF,1B,53,30,30,30,38,00,00,20,22,3E,3E,00,00     * O
  171. D0,1B,53,30,30,30,38,00,00,1E,3E,22,3E,1E,00     * P
  172. D1,1B,53,30,30,30,38,00,20,3E,3E,20,3E,3E,00     * Q
  173. D2,1B,53,30,30,30,38,00,2E,2E,2A,22,3E,3E,00     * R
  174. D3,1B,53,30,30,30,38,00,26,2E,28,38,3E,36,00     * S
  175. D4,1B,53,30,30,30,38,00,7A,7A,02,3E,1E,00,00     * T
  176. D5,1B,53,30,30,30,38,00,02,02,02,3E,3C,00,00     * U
  177. D6,1B,53,30,30,30,38,3E,3E,20,3E,20,3E,3E,00     * V
  178. D7,1B,53,30,30,30,38,20,3E,3E,02,3E,3E,00,00     * W
  179. D8,1B,53,30,30,30,38,00,00,00,02,7E,7E,00,00     * X
  180. D9,1B,53,30,30,30,38,00,00,02,02,02,7E,7E,00     * Y
  181. DA,1B,53,30,30,30,38,02,3E,3E,22,22,3E,3E,00     * Z
  182. DB,1B,53,30,30,30,38,00,0E,0E,0A,02,7E,7E,00     * [
  183. DC,1B,53,30,30,30,38,00,00,06,0E,78,7E,06,00     * \
  184. DD,1B,53,30,30,30,38,40,98,BC,E6,67,3D,19,03     * ]
  185. DE,1B,53,30,30,30,38,00,70,38,1C,0E,1C,38,70     * ^
  186. DF,1B,53,30,30,30,38,3C,66,66,1C,38,66,66,3C     * _
  187. E0,1B,53,30,30,30,38,00,38,7C,44,6C,38,6C,44     * `
  188. E1,1B,53,30,30,30,38,00,FC,FE,4B,49,7F,36,00     * a
  189. E2,1B,53,30,30,30,38,00,82,FE,FE,82,82,06,0E     * b
  190. E3,1B,53,30,30,30,38,00,04,FC,7C,04,FC,7C,04     * c
  191. E4,1B,53,30,30,30,38,00,41,63,77,5D,49,63,63     * d
  192. E5,1B,53,30,30,30,38,00,38,7C,46,7E,3A,02,00     * e
  193. E6,1B,53,30,30,30,38,80,FC,7C,40,7C,7C,40,40     * f
  194. E7,1B,53,30,30,30,38,00,04,04,FC,7C,04,04,00     * g
  195. E8,1B,53,30,30,30,38,00,18,BD,E7,E7,BD,18,00     * h
  196. E9,1B,53,30,30,30,38,00,3C,7E,4A,4A,7E,3C,00     * i
  197. EA,1B,53,30,30,30,38,00,5C,7E,02,02,7E,5C,00     * j
  198. EB,1B,53,30,30,30,38,00,38,7C,66,4F,7D,3B,02     * k
  199. EC,1B,53,30,30,30,38,00,98,E4,7E,27,19,00,00     * l
  200. ED,1B,53,30,30,30,38,00,38,7C,44,FE,44,7C,38     * m
  201. EE,1B,53,30,30,30,38,00,3E,7F,6B,49,49,49,00     * n
  202. EF,1B,53,30,30,30,38,00,7E,7F,01,01,7F,7E,00     * o
  203. F0,1B,53,30,30,30,38,00,2A,2A,2A,2A,2A,2A,00     * p
  204. F1,1B,53,30,30,30,38,00,44,44,5F,5F,44,44,00     * q
  205. F2,1B,53,30,30,30,38,00,40,51,5B,4E,44,40,00     * r
  206. F3,1B,53,30,30,30,38,00,40,44,4E,5B,51,40,00     * s
  207. F4,1B,53,30,30,30,38,00,00,00,FC,FE,02,0E,0C     * t
  208. F5,1B,53,30,30,30,38,30,70,40,7F,3F,00,00,00     * u
  209. F6,1B,53,30,30,30,38,00,08,08,6B,6B,08,08,00     * v
  210. F7,1B,53,30,30,30,38,00,24,12,12,24,24,12,00     * w
  211. F8,1B,53,30,30,30,38,00,00,02,07,05,07,02,00     * x
  212. F9,1B,53,30,30,30,38,00,00,02,07,07,07,02,00     * y
  213. FA,1B,53,30,30,30,38,00,00,00,60,60,00,00,00     * z
  214. FB,1B,53,30,30,30,38,10,30,60,78,1C,04,04,04     * {
  215. FC,1B,53,30,30,30,38,00,1E,1F,01,1F,1E,00,00     * |
  216. FD,1B,53,30,30,30,38,00,12,1B,1D,17,12,00,00     * }
  217. FE,1B,53,30,30,30,38,00,11,15,15,1F,0A,00,00     * ~
  218. FF,1B,53,30,30,30,38,00,02,02,02,02,02,02,00     * 
  219. 00                                               * NULL terminator
  220. 
  221.  
  222. /////////////////////////////////////////////////////////////////////////////////ə